package com.woniuxy02;

import java.util.Arrays;

/**
 * @author 作者
 * @create 2025-05-28 14:07
 */
public class MyUtilTest02 {

    public static void main(String[] args) {
        MyUtil02 myUtil02 = new MyUtil02();
        int[] a={1,2,3,9,4,5,25};
//        int num=13;
//        System.out.println(myUtil02.exists01(a, num));
//        System.out.println(myUtil02.exists02(a, num));
//        System.out.println(myUtil02.maxValueIndex(a));
//        System.out.println(myUtil02.maxValue(a));

//        myUtil02.sort1(a);
//        System.out.println(Arrays.toString(a));
        a=myUtil02.sort2(a);
        System.out.println(Arrays.toString(a));
    }
}
